<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<!-- <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script> -->
<script src="../vue.js"></script>
<body>
  <div id="app">
    <ul>
      <li v-for="(item,index) in arr">
        旅游景点:{{item}}
        索引{{index}}
      </li>
      <li v-for="(item,index) in message">
        你好{{item.name}}
        索引{{index}}
      </li>
    </ul>
    <input type="text" v-model="date">
    <h3>{{date}}</h3>
  </div>
</body>
<script>
  let app=new Vue({
    el:"#app",
    data:{
      arr:[
        `北京`,
        `上海`,
        `澳门`,
        `香港`,
      ],
      message:[
      {name:`小米`},
      {name:`雪碧`},
      ],
      date:`2011-11-28`
        
      
    }
  })
</script>
</html>